package mapper;

import po.Tenant;

import java.util.List;

public interface TenantMapper {
    public List<Tenant> findAllTenants(Tenant tenant) throws Exception;
    public void addTenant(Tenant tenant) throws Exception;
    public void deleteTenantById(int id) throws Exception;
    public void updateTenantById(Tenant tenant) throws Exception;
}
